<div class="content-view-embeddedmedia content-view-embed-lightbox">
<div class="class-image">

<div class="attribute-image">
	{*?template charset=utf-8?*}
	{def $image_variation="false"}
	{if is_set($object_parameters.size)}
	{set $image_variation=$object.data_map.image.content[$object_parameters.size]}
	{else}
	{set $image_variation=$object.data_map.image.content['small']}
	{/if}
	<a href={$object.data_map.image.content['lightbox'].full_path|ezroot} target="_blank" title="{$object.name|wash}" rel="imagegroup" class="thickbox">
	<img src={$image_variation.full_path|ezroot} alt="{$object.name|wash(xhtml)}" />
	</a>
</div>

{section show=$object.data_map.caption.has_content}
{section show=is_set($object.data_map.image.content[$object_parameters.size].width)}
<div class="attribute-caption" style="width: {$object.data_map.image.content[$object_parameters.size].width}px">
{section-else}
<div class="attribute-caption">
{/section}
    {attribute_view_gui attribute=$object.data_map.caption}
</div>
{/section}
</div>
</div>

